Sorry, missed your reply earlier, but as above I think we need to make them public and shared between both bits of JSON code.