Added easy converting to json