More patient JSON work