Allow to easy convert models to JSON