removed uneccessary to_json