API for Serialisation of Objects based on Bukkits FileConfiguration