fixed issue with json model not loading foreign key field properly. also fixed model saving field that is a foreign key with either json or model