Update LifeDB.php

in time of returning value json encoded string will be returned and on parsing that the original data types will be retrieved