json validator and added method and ingredients