Refactor and fix in `-buy_JSONForValue:` as well as other refactoring. Move a comment to where it is most applicable.