Return string instead of using json.dumps to increse speed, make more simple