Move JSON resource structs into their own package