brain model from json provider
tests rewritten to use json models