Implemented more of transaction json in the json factory