Serialize arrays on saving

Fix a warning in Cases_Log_User_Actions::save_data() when meta value is
an array.