Almost done with relationships, weird parsing error with JSON and User Agent