fixed decorator as_json