Fix JSONfield for inherited models

Fix JSONfield for inherited models