jsonalchemy: model resolver fix

Signed-off-by: Esteban J. G. Gabancho <egabancho@gmail.com>