Get tuples + json working