Added lanternstate names, fixed serialization bug

Added lantern state names.
Fixed serialization bug.